<?php
require_once 'database.php';

$id=$_GET["id"];

//删除的sql
$sql="DELETE FROM `stu` WHERE `stu`.`id` = $id";
//执行sql
$conn->query($sql);

//回到首页
header("Location:index.php");
